﻿using System;
namespace IGolovkine.ShoutCastRipper
{
    public interface IStationClient : IDisposable
    {
        void Connect(string url);
        void Disconnect();
        
        bool IsConnected { get; }
        string CurrentTitle { get; }

        DateTime ConnectionTime { get; }

        event EventHandler<StationClientContentStartEventArgs> ContentStart;
        event EventHandler<StationClientContentEndEventArgs> ContentEnd;
        event EventHandler<StationClientContentReceivedEventArgs> ContentReceived;
        event EventHandler<StationClientDisconnectedEventArgs> Disconnected;
    }
}
